x86: Implement cpufreq ondemand policy
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 14 May 2008 12:55:26 +0000 (13:55 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 14 May 2008 12:55:26 +0000 (13:55 +0100)
commitd6f001cb91ac4cfc69a256abdd030e94ff979e26
treef51b792c65cb7ddc4ff156f30f241d5504a880bb
parentfb7a4925f3414efe238ae698474817af21524f6f
x86: Implement cpufreq ondemand policy

Based on initialized cpufreq infrustructure, setup a timer on
each PSD domain, periodicly sample cpu load and driver cpu to
some Px state according to cpu load and cpu coordination.

Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
xen/arch/x86/acpi/cpufreq/cpufreq_ondemand.c